package com.mcptt.operator.api;

import android.content.Context;
import android.os.RemoteException;

import com.mcptt.db.loader.msg.HirstoryListLoader;
import com.mcptt.db.loader.msg.HirstoryListLoaderCb;
import com.mcptt.db.loader.msg.SessionListLoader;
import com.mcptt.db.loader.msg.SessionListLoaderCb;
import com.mcptt.db.model.SessionInfo;
import com.mcptt.db.model.UserInfo;

public interface IMsgOperator
{
	public HirstoryListLoader getHirstoryListLoader(Context ctx,HirstoryListLoaderCb callback);
	public SessionListLoader getSessionListLoader(Context ctx,UserInfo curUserInfo,SessionListLoaderCb callback);
	public boolean hasNewMsg();
	public boolean delHirstory(String receiverUId);
	public boolean delSession(SessionInfo info);
//	public int sendMessage(String toNumber,SessionInfo msgInfo) throws RemoteException;
}
